package com.fac;

import com.fac.entity.Users;
import com.fac.mapper.UsersMapper;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

import java.util.List;

@SpringBootTest
public class CurdApplication {

    @Autowired
    private UsersMapper usersMapper;

    @Test
    void testSelectAll() {
        final List<Users> users = usersMapper.selectList(null);
        System.out.println(users);
    }
}
